<?
  $time3 = microtime(true);

  $filename = "themes/".$curtheme."/div_footer.php";
  if (file_exists($filename) )
  {
    include $filename;
    return;
  }
?>

<!-- Footer -->

</div> <!--Page_in_div-->
</div> <!--Page_div-->

<div class="site_footer">
<div class="site_footer_in">

<div class="copyright_div">
&copy 2010 Maxim Rusov
</div>

<?if ($user["admin"]) {?>

<div class="debug_info">
Times: 1=<?=$time1-$time0;?> 2=<?=$time2-$time1;?> 3=<?=$time3-$time2;?><br>
<!--
URL: <?=htmlspecialchars($url);?><br>
Page: <?=htmlspecialchars($page);?><br>
Args: <?=htmlspecialchars($args);?><br>
Lang: <?=htmlspecialchars($lang);?><br>
User: <?=htmlspecialchars($user["name"]);?> (<?=$user["id"];?>)<br>

<?
foreach ($HTTP_GET_VARS  as $get_key => $get_val)
{
  print "{$get_key}=>{$get_val}<br>\n";
};
?>
-->
</div>

<?}?>

</div> <!--site_footer_in-->
</div> <!--site_footer-->
</div> <!--site_div-->
</div> <!--site_body-->